package com.gzdh.dishrecognition.entity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;

import java.util.Date;
import org.greenrobot.greendao.annotation.Generated;

@Entity
public class OrdersEntity {

    @Id
    private Long id;

    @Property(nameInDb = "orders")
    private String orders;

    @Property(nameInDb = "name")
    private String name;

    @Property(nameInDb = "cardsn")
    private String cardsn;

    @Property(nameInDb = "amountPrice")
    private String amountPrice;

    @Property(nameInDb = "createTime")
    private Date createTime;

    @Property(nameInDb = "type")
    private Integer type;

    @Property(nameInDb = "deviceId")
    private String deviceId;

    @Property(nameInDb = "userId")
    private String userId;

    @Property(nameInDb = "upLoad")
    private boolean upLoad;

    @Generated(hash = 523550327)
    public OrdersEntity(Long id, String orders, String name, String cardsn,
            String amountPrice, Date createTime, Integer type, String deviceId,
            String userId, boolean upLoad) {
        this.id = id;
        this.orders = orders;
        this.name = name;
        this.cardsn = cardsn;
        this.amountPrice = amountPrice;
        this.createTime = createTime;
        this.type = type;
        this.deviceId = deviceId;
        this.userId = userId;
        this.upLoad = upLoad;
    }

    @Generated(hash = 1493169893)
    public OrdersEntity() {
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOrders() {
        return this.orders;
    }

    public void setOrders(String orders) {
        this.orders = orders;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCardsn() {
        return this.cardsn;
    }

    public void setCardsn(String cardsn) {
        this.cardsn = cardsn;
    }

    public String getAmountPrice() {
        return this.amountPrice;
    }

    public void setAmountPrice(String amountPrice) {
        this.amountPrice = amountPrice;
    }

    public Date getCreateTime() {
        return this.createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getType() {
        return this.type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getDeviceId() {
        return this.deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getUserId() {
        return this.userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public boolean getUpLoad() {
        return this.upLoad;
    }

    public void setUpLoad(boolean upLoad) {
        this.upLoad = upLoad;
    }
}
